package com.salesystem.dao.entity;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;
/**
 * 员工
 * @author  兰雪颖
 *
 * Jun 26, 2011
 */
@SuppressWarnings("serial")
public class Employee implements java.io.Serializable {

	/**编号*/
	private Integer id;
	/**职务*/
	private Position position;
	/**部门*/
	private Department department;
	/**姓名*/
	private String name;
	/**工作时间*/
	private Date worddate;
	/**出生日期*/
	private Date birth;
	/**员工状态*/
	private Integer states;
	/**性别*/
	private String sex;
	/**顾客*/
	private Set<Customer> customers = new HashSet<Customer>();
	/**订单*/
	private Set<Orders> orderses = new HashSet<Orders>();
	/**用户*/
	private Set<Tbluser> tblusers = new HashSet<Tbluser>();
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Position getPosition() {
		return position;
	}
	public void setPosition(Position position) {
		this.position = position;
	}
	public Department getDepartment() {
		return department;
	}
	public void setDepartment(Department department) {
		this.department = department;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Date getWorddate() {
		return worddate;
	}
	public void setWorddate(Date worddate) {
		this.worddate = worddate;
	}
	public Date getBirth() {
		return birth;
	}
	public void setBirth(Date birth) {
		this.birth = birth;
	}


	public Integer getStates() {
		return states;
	}
	public void setStates(Integer states) {
		this.states = states;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public Set<Customer> getCustomers() {
		return customers;
	}
	public void setCustomers(Set<Customer> customers) {
		this.customers = customers;
	}
	public Set<Orders> getOrderses() {
		return orderses;
	}
	public void setOrderses(Set<Orders> orderses) {
		this.orderses = orderses;
	}
	public Set<Tbluser> getTblusers() {
		return tblusers;
	}
	public void setTblusers(Set<Tbluser> tblusers) {
		this.tblusers = tblusers;
	}

}